package com.github.zkclient.serialize;

import com.github.zkclient.exception.ZkMarshallingError;

public interface ZkSerializer {
	
    public byte[] serialize(Object data) throws ZkMarshallingError;

    public Object deserialize(byte[] bytes) throws ZkMarshallingError;

}
